package com.iqiyi.pps.epg.core.service.sginal;

import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.api.model.web.query.TPage;
import com.iqiyi.pps.epg.api.model.web.sginal.TServerClusterDataPage;
import com.iqiyi.pps.epg.core.model.sginal.Server;
import com.iqiyi.pps.epg.core.model.sginal.ServerCluster;

import java.util.List;

/**
 * Created by yanchao_sx on 2018/4/4.
 */
public interface ServerClusterService {
    public ServerCluster get(int id);
    public int add(ServerCluster entity);
    public void update(ServerCluster entity);
    public TServerClusterDataPage getServerClusterData(TPage page, TFilter filter);
    public List<ServerCluster> getAll();
    public List<Server> getAllServerById(int id);
    public void delServerCluster(int id);

    public int includingTaskSum(int id);
}
